package cn.lili.config;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 * @author paulG
 * @since 2020/10/13
 **/
@Data
@Builder
@Component("ossProperties")
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "lili.oss")
public class OssProperties {


    private String accessKey;

    private String secretKey;

    private String bucket;

    private String resourcesUrl;



}
